<?php
require('../home/config.php');
$id = getValue('id','int','POST',0);

$db = new DBQuery;
$proHot = $db->query('SELECT * FROM product WHERE pro_id ='.$id);
foreach($proHot as $row){
	echo'<span class="proinfo-title"><b> '.$row['pro_name'].' </b></span><br>
		<div class="proinfo-img">
			<img src="../images/product_image/'.$row["pro_image"].'" />
		</div>
		<div class="proinfo-content">
            <div>
			<b>Thông số kỹ thuật: </b><br/>
			'.$row["pro_information_summary"].'<br>
			<b> Giá: '. number_format($row["pro_price"],0,',','.').' đ/m<sup>2</sup></b>
            </div>
		</div>';
}
?>
<script>
$('.proinfo-content').jScrollPane();
</script>